class Cell():

    def move(self):
        self.x += randint(-1, 1)
        self.y += randint(-1, 1)
    
class Gre(Cell):
    def __init__(self, x, y, timer):
        delf.color = (0, 255, 0)
    def division(self):
        gre_list += Gre(self.x, self.y, timer)
        
class Red(Cell):
    def __init__(self, x, y, infect = INFCONST):
        self.x = x
        self.y = y
        
    # def move(): - from class Cell
    
    def infect(self, cell):
        if random() > self.infect:
            cell = Blu(cell.x, cell.y)
            blu_list += cell
        else:
            cell = Red(self.x, self.y)
            red_list += cell
    def destruct():   # Delete cell from red_list
        pass
    
            
            
class Blu(Cell):
    def __init__(self, x, y):
        self.x = x
        self.y = y
        
    # def move(): - from class Cell
    
    
    
# MAIN MODULE

while True:
    
    '...'
    
    def check_blu(x, y):
        for item in field[x][y]:
            if type(item) == Red:
                item.destruct()
            
    def check_red(red, x, y):
        for item in field[x][y]:
            if type(item) = Gre:
                red.infect(item)
    
    